const axios = require("axios");

const url =
  "https://restapi.amap.com/v3/ip?ip=114.247.50.2&key=9994ea2619c5610863aa62a8e0dca06b";

axios
  .get(url)
  .then((res) => {
    console.log(res);
  })
  .catch(() => {});
